import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus';

import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'//dark-theme
//中文包
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App);
// 使用插件
// app.use(GlobalConfig);
app.use(router);
//国际化i18n
app.use(ElementPlus, { locale: zhCn });

app.mount('#app');
